<style>
  .elemexpensesearcht_table1 {
    background-image: url(images/common/headline.png);
    background-repeat:repeat-x;
    width: 660px;
    border-right:solid 1px #b3b3ba;
    border-bottom:solid 1px #b3b3ba;
  }
  .elemexpensesearcht_td1 {
    width: 900px;
    height: 25px;
    padding: 0 0 0 15px;
    font-weight:bold;
    font-size:11pt;
    color:#694247;
  }
  .elemexpensesearcht_td2 {
    width: 430px;
  }
  .elemexpensesearcht_td3 {
    padding-bottom: 5px;
    text-align: center;
    width: 100%;
  }
  .elemexpensesearcht_td5 {
    white-space: nowrap;
    padding: 0 10px 0 15px;
    font-weight:bold;
    font-size:10pt;
    color:#694247;
  }
  .elemexpensesearcht_td6 {
    padding: 0 5px;
    font-weight:bold;
    font-size:10pt;
    color:#694247;
  }
  .elemexpensesearcht_inputText1 {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 400px;
    height: 18px;
  }
  .elemexpensesearcht_inputText2 {
    border-left:solid 1px #d2c4b9;
    border-top:solid 1px #d2c4b9;
    border-right: solid 1px #fff;
    border-bottom: solid 1px #fff;
    width: 139px;
    height: 18px;
  }
  
</style>


<div id="{{$template|escape:'html'}}_m1_div">
  <table class="elemexpensesearcht_table1" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="elemexpensesearcht_td1" colSpan=3>Search Box</td>
    </tr>
    <tr style="background-color: #ebebe3;">
      <td class="elemexpensesearcht_td2" style="padding: 20px 0 20px 15px">
        <input type="text" class="elemexpensesearcht_inputText1" id="{{$template|escape:'html'}}_m1_keyword"></input>
      </td>
      <td>
        <input type="button" class="searchb" style="margin-left: 15px" id="{{$template|escape:'html'}}_m1_search" />
      </td>
      <td class="elemexpensesearcht_td3">
        ( 
        <a href="#" id="{{$template|escape:'html'}}_m1_advanced">Advanced search</a>
        )
      </td>
    </tr>
  </table>
</div>

<div id="{{$template|escape:'html'}}_m2_div" style="display:none">
  <table class="elemexpensesearcht_table1" cellPadding="0" cellSpacing="0">
    <tr>
      <td class="elemexpensesearcht_td1" colSpan=3>Search Box</td>
    </tr>
    <tr>
      <td style="background-color: #ebebe3;padding: 20px 0;">
        <table cellPadding="0" cellSpacing="0">
          <tr>
            <td style="padding:0 0 0 15px;padding-bottom: 5px;" colSpan=4>
              <input type="text" class="elemexpensesearcht_inputText1" id="{{$template|escape:'html'}}_m2_keyword"></input>
            </td>
            <td style="padding-bottom: 5px;">
              <input type="button" class="searchb" style="margin-left: 15px" id="{{$template|escape:'html'}}_m2_search" />
            </td>
            <td class="elemexpensesearcht_td3">
              ( 
              <a href="#" id="{{$template|escape:'html'}}_m2_simple">Simple search</a>
              )
            </td>
          </tr>
          <tr style="padding-top: 5px;">
            <td class="elemexpensesearcht_td5">Date Transfer</td>
            <td><input type="text" class="elemexpensesearcht_inputText2" id="{{$template|escape:'html'}}_m2_from"></input></td>
            <td class="elemexpensesearcht_td6">To</td>
            <td><input type="text" class="elemexpensesearcht_inputText2" id="{{$template|escape:'html'}}_m2_to"></input></td>
          </tr>
        </table>
      </td>
    </tr>
  </table>
</div>